Skip to content

Conversation

@felixbarny
Copy link
Member

Backports the following commits to 8.x:

If metrics that have the same timestamp and dimensions aren't grouped into the same document, ES will consider them to be a duplicate.
The _metric_names_hash field will be set by the OTel ES exporter.
As it's mapped as a time_series_dimensions, it creates a different _tsid for documents with different sets of metrics.
The tradeoff is that if the composition of the metrics grouping changes over time, a different _tsid will be created.
That has an impact on the rate aggregation for counters.
@felixbarny felixbarny added :Data Management/Data streams Data streams and their lifecycles >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management Meta label for data/management team labels Feb 18, 2025
@elasticsearchmachine elasticsearchmachine merged commit e888d2a into elastic:8.x Feb 18, 2025
15 checks passed
@felixbarny felixbarny deleted the backport/8.x/pr-120952 branch February 18, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Data Management/Data streams Data streams and their lifecycles external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management Meta label for data/management team v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants